﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "complaintinfo", DisableSyncStructure = true)]
	public partial class Complaintinfo {

		/// <summary>
		/// 投诉id   主键
		/// </summary>
		[JsonProperty, Column(Name = "complaintid", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Complaintid { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "createtime", DbType = "datetime")]
		public DateTime? Createtime { get; set; }

		/// <summary>
		/// 投诉内容
		/// </summary>
		[JsonProperty, Column(Name = "cremark", StringLength = 50)]
		public string Cremark { get; set; }

		/// <summary>
		/// 投诉标题
		/// </summary>
		[JsonProperty, Column(Name = "ctitle", StringLength = 50)]
		public string Ctitle { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 投诉人员(外键 业主)
		/// </summary>
		[JsonProperty, Column(Name = "oid", DbType = "int")]
		public int? Oid { get; set; }

		/// <summary>
		/// 状态(0匿名 1不匿名)
		/// </summary>
		[JsonProperty, Column(Name = "state")]
		public bool? State { get; set; }

	}

}
